package com.mioto.ld.module.device.model;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 设备故障记录实体
 * @author mioto
 * @date 2024-05-30 20:17:34
 */
@Data
@ApiModel(value = "设备故障记录")
public class DeviceFaultLog implements Serializable{

    private static final long serialVersionUID=DeviceFaultLog.class.getName().hashCode();
    

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "设备id")
    private Integer deviceId;

    @ApiModelProperty(value = "故障类别id")
    private Integer faultType;

    @ApiModelProperty(value = "故障状态 0-未处理 1-已处理")
    private Integer faultStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "故障上报时间")
    private Date reportDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "故障恢复时间")
    private Date recoveryDate;
    
}